import { RoomInfo } from "../../../type/RoomInfo"
import { BaseConf, BaseRequest, BaseResponse } from "../../base"

/** 大厅服务器请求房间服务器创建房间 */
export interface ReqCreateRoom extends BaseRequest {
    /**房间名字 */
    roomName: string
}

/** 返回创建房间的id */
export interface ResCreateRoom extends BaseResponse {
    roomInfo: RoomInfo
}

export const conf: BaseConf = {
    needCheckAddress: true
}